package com.gwtintegration.smartrf.server;

import com.google.gwt.user.client.rpc.IsSerializable;
import com.gwtintegration.smartrf.shared.DataRequestSortDirection;

public class DataRequestSortSpecifier implements IsSerializable {

	private String fieldName;

	private DataRequestSortDirection direction;

	public DataRequestSortSpecifier() {}

	public DataRequestSortSpecifier(String fieldName, DataRequestSortDirection direction) {
		this.fieldName = fieldName;
		this.direction = direction;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public DataRequestSortDirection getDirection() {
		return direction;
	}

	public void setDirection(DataRequestSortDirection direction) {
		this.direction = direction;
	}
}
